package com.wjq.mapper;


import com.wjq.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
public interface UserMapper {
    User selectUserByUsername(String username);

    User queryUserById(Long id);

    List<User> queryUserList();

    void addUser(User user);

    void updateUser(User user);

    void deleteUser(int id);


}
